<div id="user-index">

        <div class="nav">
            <a href="__APP__/User/index">全部</a>
            <volist name="roleinfo" id="vo">
                <a href="__APP__/User/index/rid/<{$vo.id}>"><{$vo.name}></a>
            </volist>
        </div>

        <div class="search">
            <a class="adds" href="__APP__/User/add">添加用户</a>
                <form action="__APP__/User/index" method="post" class="search">
                    关键字 <input type="text" name="key" /> 按
                    <select name="search">
                        <option value="1">ID</option>
                        <option value="2">用户名</option>
                        <option value="3">电子邮件</option>
                    </select>
                    <empty name="list">
                            <input type="submit" value="搜索" disabled="disabled" />
                        <else />
                            <input type="submit" value="搜索" />
                    </empty>
                </form>

        </div>

        <form action="__APP__/User/del" method="post" name="delete" class="delete">
            <table>
                <thead>
                    <tr>
                        <th style="width:30px;">ID</th><th>用户名</th><th>别名</th><th>性别</th><th>邮箱</th>
                        <th>经验值</th><th>激活</th><th>所属分组</th><th>注册时间</th><th>最后登录时间</th>
                        <th class="action" style="width:50px;"><input class="allselect" type="button" value="全选" /></th>
                    </tr>
                </thead>
               <tbody>
                   <empty name="list">
                       <tr><td colspan="11" style="height:50px;">暂无数据</td></tr>
                       <else/>
                       <volist name="list" id="vo">
                           <tr>
                               <td><{$vo.id}></td>
                               <td><a class="info_a" href="__APP__/User/edit/id/<{$vo.id}>" title="修改该用户信息"><{$vo.username}></a></td>
                               <td><{$vo.nickname}></td>
                               <eq name="vo.sex" value="1">
                                   <td>男</td>
                                   <else/>
                                   <td>女</td>
                               </eq>
                               <td><a href="__APP__/SetMail/sendmailview/uid/<{$vo.id}>"><{$vo.email}></a></td>
                               <td><{$vo.exp}></td>
                               <eq name="vo.status" value="1">
                                   <td>已激活</td>
                                   <else/>
                                   <td>未激活</td>
                               </eq>
                               <td><a href="__APP__/User/index/rid/<{$vo.roleid}>"><{$vo.rolename}></a></td>
                               <td><{$vo.regdate|date="Y-m-d H:s:i",###}></td>
                               <td><{$vo.logindate|date="Y-m-d H:s:i",###}></td>
                               <td><input type="checkbox" name="actions[]" value="<{$vo.id}>" /></td>
                           </tr>
                       </volist>
                   </empty>
               </tbody>
               <tfoot>
                   <empty name="show">
                       <tr><td class="fpage" colspan="11">暂无数据</td></tr>
                       <else/>
                       <tr><td class="fpage" colspan="10"><{$show}></td><td><input class="buttondel" type="button" value="删除" /></td></tr>
                   </empty>
               </tfoot>

            </table>
        </form>

</div>
<script type="text/javascript" src="../Public/js/user.js"></script>